<include file="Public/frame" />
<!--/左边栏-->

<!--主要内容区-->

<div class="content-wrap">
    <div class="hd cf"></div>
    <!-- 选项卡导航 -->
    <div class="mtab-wrap cf">
        <ul class="member-tabnav ua-tab">
            <li >
                <a href="{:U('User/Center/index')}">账户信息</a>
            </li>
            <li >
                <a href="{:U('User/Center/detail')}">修改资料</a>
            </li>
            <li class="current">
                <a href="{:U('User/Center/face')}">修改头像</a>
            </li>
            <li>
                <a href="{:U('User/Center/pwd')}">修改密码</a>
            </li>
        </ul>
    </div>
    <!-- /导航 -->
    <style type="text/css">
    .face{
        width: 200px;
        height: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .content {
        padding: 10px;
    }
    .uploadify {
        background: url("__PUBLIC__/uploadify/uploadico.gif") 5px center no-repeat;
        color: #999;
        border: none;
        position: relative;
    }
    .uploadify:hover {
        background: url("__PUBLIC__/uploadify/uploadico.gif") 5px center no-repeat;
    }
    </style>
    <script type="text/javascript">
    var editfaceHandle='{:U('User/Center/face')}';
    </script>
    <div class="tab-bd">
        <form>
            <div class="face">
                <ul>
                    <li>
                        <img src="{$face|default_pic}" width="200px" height="200px" id="txtimage">
                        <br>
                        <input type="button" value="点击我上传图片" id="file_upload">
                    </li>
                    <li>
                        <input type="hidden" name="face" value="{$face}" id="picurl">
                        <input type="submit" value="提交" id="editface" class="button">
                    </li>
                </ul>
            </div>
        </form>
        <div class="a5"></div>
    </div>
     </div>
    <!--主要内容区-->

    <!-- /主体 -->
    <!-- 底部 -->
    <include file="Public/foot" />